<?php

use Carbon\Carbon;
use Illuminate\Database\Seeder;

class CourierTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        $courier = [
            [
                'id' => 1,
                'name' => 'Test快递员1',
                'phone' => '15800000001',
                'password' => bcrypt('123456'),
                'service_id' => '1',
                'jurisdiction' => '2',
                'is_authentication' => 0,
                'work_status' => 1,
                'amount' => '0.00',
                'avatar' => null,
                'status' => 1,
                'created_at' => Carbon::now(),
                'updated_at' => Carbon::now()
            ]
        ];

        DB::table('courier')->insert($courier);
    }
}
